var arr=[1,3,11,2,23];
console.log(arr);
var result=arr.sort(function(a,b){
//	console.log("a:",a);
//	console.log("b:",b);
	if(a>b){
		return -1
	}else if(a<b){
		return 1
	}else{
		return 0
	}


});
console.log(result);

